package com.example.b_308.myapplication.model.base;

import com.example.b_308.myapplication.model.base.BaseModel;

/**
 * Created by B-308 on 2017/11/20.
 */
public class BaseAddendance extends BaseModel {

    String id;//考勤ID
    String staff_id;//员工ID
    String signin_time;//签入时间
    String signin_location;//签入时位置
    String signout_time;//签出时间
    String company_id;//公司ID
    String signout_location;//签出时位置
    String create_time;//创建时间


    public String getId() {
        if (null == id)
            id = getStr("id");
        return id;
    }

    public String getStaff_id() {
        if (null == staff_id)
            staff_id = getStr("staff_id");
        return staff_id;
    }

    public String getSignin_time() {
        if (null == signin_time)
            signin_time = getStr("signin_time");
        return signin_time;
    }

    public String getSignin_location() {
        if (null == signin_location)
            signin_location = getStr("signin_location");
        return signin_location;
    }

    public String getSignout_time() {
        if (null == signout_time)
            signout_time = getStr("signout_time");
        return signout_time;
    }

    public String getCompany_id() {
        if (null == company_id)
            company_id = getStr("company_id");
        return company_id;
    }

    public String getSignout_location() {
        if (null == signout_location)
            signout_location = getStr("signout_location");
        return signout_location;
    }

    public String getCreate_time() {
        if (null == create_time)
            create_time = getStr("create_time");
        return create_time;
    }

    public void setId(String id) {
        this.put("id", id);
        this.id = id;
    }

    public void setStaff_id(String staff_id) {
        this.put("staff_id", staff_id);
        this.staff_id = staff_id;
    }

    public void setSignin_time(String signin_time) {
        this.put("signin_time", signin_time);
        this.signin_time = signin_time;
    }

    public void setSignin_location(String signin_location) {
        this.put("signin_location", signin_location);
        this.signin_location = signin_location;
    }

    public void setSignout_time(String signout_time) {
        this.put("signout_time", signout_time);
        this.signout_time = signout_time;
    }

    public void setCompany_id(String company_id) {
        this.put("company_id", company_id);
        this.company_id = company_id;
    }

    public void setSignout_location(String signout_location) {
        this.put("signout_location", signout_location);
        this.signout_location = signout_location;
    }

    public void setCreate_time(String create_time) {
        this.put("create_time", create_time);
        this.create_time = create_time;
    }
}
